package com.example.employeemanagement.entry;

import lombok.Data;
/**
 * 员工实体类
 * 用于存储员工的基本信息
 */
@Data
public class Employee {
    private int employee_id;  //员工ID
    private String first_name;    //员工名字
    private String last_name;    //员工姓氏
    private String email;
    private String phone_number;
    private String hire_date;     //入职日期
    private int position_id;    //管理员ID
    private Double salary;
    private String password;
    private String username;   //登录用户名
    private int roleId;
    private int department_id; // 部门ID
    private String avator; // 头像
}